github.com/klauspost/compress/zstd.Decoder.frame (field)
30 uses
github.com/klauspost/compress/zstd (current package)
decoder.go#L40: frame *frameDec
decoder.go#L219: if d.frame == nil {
decoder.go#L220: d.frame = newFrameDec(d.o)
decoder.go#L492: d.frame.history.reset()
decoder.go#L493: d.current.err = d.frame.reset(&d.syncStream.br)
decoder.go#L495: d.current.err = d.setDict(d.frame)
decoder.go#L500: if d.frame.WindowSize > d.o.maxDecodedSize || d.frame.WindowSize > d.o.maxWindowSize {
decoder.go#L508: d.current.err = d.frame.next(d.current.d)
decoder.go#L512: d.frame.history.ensureBlock()
decoder.go#L514: println("History trimmed:", len(d.frame.history.b), "decoded already:", d.syncStream.decodedFrame)
decoder.go#L516: histBefore := len(d.frame.history.b)
decoder.go#L517: d.current.err = d.current.d.decodeBuf(&d.frame.history)
decoder.go#L523: d.current.b = d.frame.history.b[histBefore:]
decoder.go#L525: println("history after:", len(d.frame.history.b))
decoder.go#L530: if d.syncStream.decodedFrame > d.frame.FrameContentSize {
decoder.go#L532: printf("DecodedFrame (%d) > FrameContentSize (%d)\n", d.syncStream.decodedFrame, d.frame.FrameContentSize)
decoder.go#L539: if d.current.d.Last && d.frame.FrameContentSize != fcsUnknown && d.syncStream.decodedFrame != d.frame.FrameContentSize {
decoder.go#L541: printf("DecodedFrame (%d) != FrameContentSize (%d)\n", d.syncStream.decodedFrame, d.frame.FrameContentSize)
decoder.go#L548: if d.frame.HasCheckSum {
decoder.go#L550: d.frame.crc.Write(d.current.b)
decoder.go#L554: d.current.err = d.frame.checkCRC()
decoder.go#L556: d.current.err = d.frame.consumeCRC()
decoder.go#L641: d.frame.history.reset()
decoder.go#L717: frameHistCache := d.frame.history.b
decoder.go#L848: frame := d.frame
decoder.go#L861: if err == nil && d.frame.WindowSize > d.o.maxWindowSize {
decoder.go#L863: println("decoder size exceeded, fws:", d.frame.WindowSize, "> mws:", d.o.maxWindowSize)
decoder.go#L939: d.frame.history.b = frameHistCache
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |